package com.ccit.service.impl;

import com.ccit.dao.LocationDao;
import com.ccit.domain.Location;
import com.ccit.service.LocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocationServiceImpl implements LocationService {
    @Autowired
    private LocationDao locationDao;
    @Override
    public Location getByLocation(String location) {
        return locationDao.getByLocation(location);
    }
}
